<ion-header>
  <ion-navbar>
    <ion-title>
      我的笔记
    </ion-title>
  </ion-navbar>
</ion-header>

<ion-content padding>
  <ion-list>
    <button ion-item *ngFor="let note of notes | async" (click)="getNote(note.createDate)">
      {{ note.title }}
    </button>
  </ion-list>
  <button ion-button (click)="addNote()">新增笔记</button>
</ion-content>
